/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.bomt.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 强度数模清单Vs标准装机清单的变更摘要
 *
 * @author zhanghongyi
 * @date 2024/8/5 14:37
 * @description SummaryStrengthStandardChangeVo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class SummaryStrengthStandardChangeVo {
    /**
     * 版本列表
     */
    private List<String> versions = new ArrayList<>();

    /**
     * 变更分类明细List
     */
    @JsonIgnore
    @JsonProperty
    private List<DetailStrengthStandardChangeVo> changeDetailList = new ArrayList<>();

    /**
     * 变更类型统计，key为changeType，value为对应类型的计数
     */
    private Map<String, Integer> changeCountMap = new HashMap<>();
}
